//
//  TeacherOrderTimeCell.m
//  SDSY
//
//  Created by 蓝布鲁 on 2017/4/10.
//  Copyright (c) 2017 蓝布鲁. All rights reserved.
//

#import "TeacherOrderTimeCell.h"


@implementation TeacherOrderTimeCell

- (void)setModel:(TeacherOrderTimeModel *)model {
    _model = model;
    // 设置text
    self.textLabel.font = [UIFont systemFontOfSize:15];
    
    NSString *startTime = [model.starttime formatDateWithInputFormat:@"HH:mm:ss" outputFormat:@"HH:mm"];
    NSString *endTime = [model.endtime formatDateWithInputFormat:@"HH:mm:ss" outputFormat:@"HH:mm"];
    self.textLabel.text = [NSString stringWithFormat:@"%@ ~ %@",startTime,endTime];
}



@end
